package com.sidianzhong.sdz.mapper;

import com.sidianzhong.sdz.model.*;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface WebInspectiondatarecordMapper {
    long countByExample(WebInspectiondatarecordExample example);

    int deleteByExample(WebInspectiondatarecordExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WebInspectiondatarecord record);

    int insertSelective(WebInspectiondatarecord record);

    List<WebInspectiondatarecord> selectByExample(WebInspectiondatarecordExample example);

    WebInspectiondatarecord selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WebInspectiondatarecord record, @Param("example") WebInspectiondatarecordExample example);

    int updateByExample(@Param("record") WebInspectiondatarecord record, @Param("example") WebInspectiondatarecordExample example);

    int updateByPrimaryKeySelective(WebInspectiondatarecord record);

    int updateByPrimaryKey(WebInspectiondatarecord record);

    WebInspectiondatarecord getByKey(@Param("equipmenttypekey") String equipmenttypekey,@Param("equipmentkey") String equipmentkey,@Param("itemid") Integer itemid);

    WebInspectiondatarecord getOneByKey(@Param("recordid") Integer recordid,@Param("equipmenttypekey") String equipmenttypekey,@Param("equipmentkey") String equipmentkey,@Param("itemid") Integer itemid);

    int batchInsert(@Param("list") List<WebInspectiondatarecord> list);

    List<WebInspectiondatarecord> gitList(Integer recordid);

}